perm filename IPUPST.H[11,HE] blob
sn#688217 filedate 1982-12-06 generic text, type T, neo UTF8
/*
* pupstatus.h
*
* This file defines Pup status codes such as are returned
* from various routines.
*
* By convention, error codes are always negative; this
* keeps them separate from other things, which should
* be positive.
*
* Jeffrey Mogul 12-January-80
* Mark Roberts 11 Oct 81
* --added ABORT
*/
#define OK 0 /* no error */
#define TIMEOUT (-1) /* various timeout errors */
#define NOCHAN (-2) /* no channel available */
#define NOTFOUND (-3) /* lookup failed (obsolete?) */
#define BADCKSUM (-4) /* received bad checksum */
#define NOROUTE (-5) /* can't get there from here */
#define FILTERTOOBIG (-6) /* tried to construct oversized filter */
#define PCNOTOPEN (-7) /* pup channel not open */
#define NOTAPUP (-8) /* encapsulated packet not a Pup */
#define ABORT (-9) /* connection terminated, misc. errs */